/*
 * Inventory.h
 *
 *  Created on: 07/07/2011
 *      Author: Rafael
 */

#ifndef INVENTORY_H_
#define INVENTORY_H_

#include "Component.h"
#include <map>
#include "entity/item/Weapon.h"
using std::map;

class Model;

class Inventory: public Component {
private:
	map<int, Weapon*> weaponList;
	int weaponInUse;

public:
	Inventory(int id);
	virtual ~Inventory();

	void addWeapon(int id, Weapon* weapon);
	void removeWeapon(int id);
	void equipWeapon(int id, Model* model);
	Weapon *GetWeapon();
	void changeWeapon(Model *model);
};

#endif /* INVENTORY_H_ */
